﻿using System;
using System.Data.Linq;

namespace Moe.ECamel.Common.Entities
{
	public static class ECamelDataContextExtensions
	{
		public static void ClearOnSubmit<T>(this Table<T> table) where T : class
		{
			table.DeleteAllOnSubmit(table);
		}
	}
}
